package com.springcloud.demo.service;

import com.springcloud.demo.pojo.Order;

/**
 * @Author: XiaoJie Wang
 * @Description:
 * @Date: Create in 13:57 2021/7/8
 */
public interface OrderService {


    /**
     * 根据主键查询订单
     * 使用@LoadBalancerClient
     * @param id
     * @return
     */
    Order selectOrderByIdTemplate(Integer id);

    Order selectOrderByIdFeign(Integer id, String productName);
}
